<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>登陆日志</title>
		<link href="<%=application.getContextPath()%>/nresources/ued/css/all-src.css" type="text/css" rel="stylesheet" />
		<%@include file="/WEB-INF/ibnms/common/easyui.jsp" %>
		<%@include file="/WEB-INF/ibnms/common/jqgrid.jsp"%>
		<%@ include file="/WEB-INF/ibnms/common/jsCommonVariables.jsp"%>
	</head>
<body>
<div class="form-wrapper">
<div class="block02">
	<table id="gridTable">
	</table>
	<div id="gridPager">
	</div>
</div>
</div>

<script type="text/javascript">
			$(function(){$("#gridTable").jqGrid({
					url: "loadPostTimeQueryJson.do",
					datatype: "json",
					mtype: "POST",
					height: "100%",
					autowidth: true,
					colNames:['登录名', '登入时间', '登出时间'],
					colModel:[
						{name:'LOGIN_ID',index:'LOGIN_ID'},
						{name:'START_TIME',index:'START_TIME'},
						{name:'END_TIME',index:'END_TIME'}
					],
					viewrecords: true,
					rowNum: 15,
					rowList: [10,15,30],
					sortname: 'START_TIME',
					sortorder:'desc',
					jsonReader: {
						root: 'rows',
						page: 'page',
						total: 'total',
						records: 'records',
						repeatitems: false,
						subgrid: {
					        root: 'rows',
							page: 'page',
							total: 'total',
							records: 'records',
							repeatitems: false
					    }      
					},
					pager: "#gridPager",
					hidegrid: true
				});
				
			}); 
		</script>
</body>
</html:html>            
